package com.draven.dubbo.interfac.impl;


import com.draven.dubbo.interfac.UserService;
import org.apache.dubbo.config.annotation.Service;

@Service       //导入dubbo的service注解，将这个类提供的方法对外发布，注册到注册中心中
public class UserServiceImpl implements UserService {

    @Override
    public String sayHello() {
        return "hello dubbo !";
    }
}

